package Demo_zhuanshu.XueQiang08;

public class Student implements Person{
    private String name;
    private String sex;
    private String birthday;
    private String sID ="LPL006";
    private String speciality="职业选手";

    @Override
    public void setDate(String name, String sex, String birthday) {
        this.name=name;
        this.sex=sex;
        this.birthday=birthday;
    }

    @Override
    public String getDate() {
        return "姓名:"+name+"\n性别:"+sex+"\n生日:"+birthday+"\n号:"+sID+"\n专业:"+speciality;

    }
}
